package com.ccys.db.vo.app.home;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Author：XLY
 * @Date：2024/1/15 0015
 */

@Data
public class CdmpRebuyVo {
    /**
     * t1.booking_id,t1.allow_reactivate_purchase_for,t1.booking_payment_at
     *                 ,t1.cdmp_benefit_name cdmp_package_name
     */

    @JsonProperty("booking_id")
    private String bookingId;

    private Integer allowReactivatePurchaseFor;

    private Date bookingPaymentAt;

    @JsonProperty("cdmp_package_name")
    private String cdmpPackageName;


    @Data
    public static class CdmpRebuyResVo{
        @JsonProperty("booking_id")
        private String bookingId;

        @JsonProperty("days_left")
        private Integer daysLeft;

        @JsonProperty("cdmp_package_name")
        private String cdmpPackageName;
    }
}
